package com.ccb.sc.member.vo;

import com.ccb.sc.common.enums.Gender;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-16
 */
@Data
@ApiModel("用户信息")
public class AppMemberVo {

    private Long id;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("性别 0保密 1男 2女")
    private Gender gender;

    @ApiModelProperty("生日")
    private LocalDate birthday;

    @ApiModelProperty("区域id")
    private Long regionId;

    @ApiModelProperty("区域")
    private String region;

    @ApiModelProperty("感兴趣的商品类别")
    private String interestGoodsCategory;

    @ApiModelProperty("积分数量")
    private Integer points;

    @ApiModelProperty("余额")
    private BigDecimal balance = BigDecimal.ZERO;

    @ApiModelProperty("累计获取余额")
    private BigDecimal totalBalance = BigDecimal.ZERO;

    @ApiModelProperty("成长值")
    private BigDecimal growthValue;

    @ApiModelProperty("vip等级")
    private Integer level;

    @ApiModelProperty("直播间等级")
    private Integer liveLevel;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("是否签到")
    private Boolean isSignIn = false;

    @ApiModelProperty("是否团长")
    private Boolean isHeads = false;

    @ApiModelProperty("注册天数")
    private long registerDays;

}
